Skip to content

Upgrade deps 2026 07 01#62

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade deps 2026 07 01#62
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies and devDependencies in the package.json file to their latest minor or patch versions. These updates help keep the project up-to-date with security patches, bug fixes, and new features.

Dependency updates:

  • Updated core dependencies such as @deskpro/deskpro-ui, @sentry/react, @tanstack/react-query, react-hook-form, react-router-dom, and styled-components to newer versions.

Development tooling updates:

  • Upgraded devDependencies including @swc/core, @swc/helpers, @testing-library/jest-dom, @types/lodash, @types/react, @vitejs/plugin-react, eslint-config-prettier, jest-environment-jsdom, prettier, ts-jest, typescript, and vite to their latest minor or patch releases.

Summary by Sourcery

Update application and tooling dependencies to newer minor and patch versions to keep the project current and maintain compatibility.

Build:

  • Bump runtime dependencies including UI, Sentry, React Query, routing, forms, and styling packages to newer minor/patch releases in package.json.
  • Upgrade devDependencies such as SWC, Testing Library, Jest environment, TypeScript, Vite, and related tooling to their latest minor/patch versions and refresh the lockfile.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:15
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's Guide

Upgrade runtime and development dependencies in package.json (and corresponding pnpm-lock.yaml) to newer minor/patch versions for UI, monitoring, data fetching, forms, routing, styling, build, test, lint, formatting, and TypeScript tooling.

File-Level Changes

Change Details Files
Bump core runtime dependencies to newer compatible minor/patch versions.
  • Update @deskpro/deskpro-ui to the latest 8.4.x release.
  • Update Sentry React and Vite plugin packages to newer 9.x and 3.x versions.
  • Bump @tanstack/react-query to a newer 4.42.x version.
  • Upgrade react-hook-form to a newer 7.70.x release.
  • Increment react-router-dom to 6.30.2.
  • Bump styled-components to 6.2.x.
package.json
pnpm-lock.yaml
Refresh devDependencies for build, test, lint, and TypeScript tooling to current minor/patch versions.
  • Update @swc/core and @swc/helpers to newer 1.15.x and 0.5.18 versions.
  • Bump @testing-library DOM/jest-dom packages to latest 10.4.x/6.9.x.
  • Update type packages for lodash and React to latest patch versions.
  • Upgrade @vitejs/plugin-react, eslint-config-prettier, jest-environment-jsdom, and prettier to their latest minor/patch releases.
  • Bump ts-jest, TypeScript, and Vite to newer 29.4.x, 5.9.x, and 6.4.x versions.
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `package.json:63` </location>
<code_context>
     "jest": "^29.7.0",
-    "jest-environment-jsdom": "^30.0.5",
-    "prettier": "^3.6.2",
+    "jest-environment-jsdom": "^30.2.0",
+    "prettier": "^3.7.4",
     "react-resize-observer": "^1.1.1",
</code_context>

<issue_to_address>
**issue (bug_risk):** Check compatibility between jest-environment-jsdom 30.x and Jest 29.x.

jest-environment-jsdom 30.x is meant for Jest 30, while we’re still on Jest 29.7.0. This mismatch can cause subtle runtime issues. Either keep jest-environment-jsdom on a 29.x version or upgrade Jest to 30.x in the same change to keep them in sync.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates multiple dependencies and devDependencies to their latest minor or patch versions, improving security, bug fixes, and compatibility. The updates span core application dependencies, testing libraries, build tools, and type definitions.

Key changes:

  • Core library updates: @deskpro/deskpro-ui (8.3.1→8.4.0), @sentry/react (9.38.0→9.47.1), @tanstack/react-query (4.40.1→4.42.0), styled-components (6.1.19→6.2.0)
  • Build tooling improvements: TypeScript (5.8.3→5.9.3), Vite (6.3.6→6.4.1), @swc/core (1.12.14→1.15.8)
  • Testing infrastructure updates: @testing-library/jest-dom (6.6.3→6.9.1), jest-environment-jsdom (30.0.5→30.2.0)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates version specifiers for 20+ dependencies across runtime and development packages
pnpm-lock.yaml Synchronizes lockfile with package.json changes, including transitive dependency resolution updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant